package edu.stu.cs.software.family.merchantservices.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import edu.stu.cs.software.family.base.service.impl.GenericManagerImpl;
import edu.stu.cs.software.family.merchantservices.dao.CsstaffDao;
import edu.stu.cs.software.family.merchantservices.domain.Csstaff;
import edu.stu.cs.software.family.merchantservices.service.CsstaffManager;

/**
 * @author 86497
 * CsstaffMannagerImpl extend of base class GenericManagerImpl
 */
@Component
public class CsstaffMannagerImpl extends GenericManagerImpl<Csstaff, Long> implements CsstaffManager {

	CsstaffDao csstaffDao;

	/**
	 * findByName
	 * 
	 * @param name
	 * @return
	 */

	@Autowired
	public void setCsstaffDao(CsstaffDao csstaffDao) {
		this.csstaffDao = csstaffDao;
		this.dao = this.csstaffDao;
	}

}
